import java.util.Random;
import java.util.Scanner;

public class J06random {
    public static void main(String[] args) {
        /*
         int a = 1;//写死
         int b = sc.nextint();//用户输入
         int c = 随机；
         */
//        Scanner sc = new Scanner(System.in);
        //生成随机数
        Random r = new Random();
        for (int i = 0; i < 100; i++) {
            int r1 = r.nextInt(10);//[0,10)  0<=x<10
            System.out.println("r1 = " + r1);
        }

        // x  [0,10)   [10,20)


    }
}
